<?php

class DatabaseSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Eloquent::unguard();
        $seeds = [
            'ClassificationTableSeeder',
            'UserTableSeeder',
            'RoleTableSeeder',
            'UserRoleTableSeeder',
            'ProductTableSeeder',
            'CartTableSeeder',
            'LinkageTableSeeder',
            'AddressTableSeeder',
            'OrderStatusTableSeeder',
            'OrderTableSeeder',
            'OrderProductTableSeeder'
        ];

        foreach ($seeds as $seed) {
            $this->call($seed);
        }

    }

}
